import random
s = input('输入生成卡密的数量：')
q = input('输入加密强度‘1’(加密强度越强速度越慢)')
w = input('输入加密强度‘2’(加密强度越强速度越慢)')
k = input('输入卡号开头署名：')
k = str(k)
q = int(q)
w = int(w)
s = int(s)
f = ''
while s > 0:
     a = random.choice(range(q))
     b = random.choice(range(w))
     s = s - 1
     a = str(a)
     b = str(b)
     f = f + '\n' + k + a + ' ' + b
v = open('1.txt','w',encoding='utf-8')
v.write(f)
v.close()
